package com.yjd.comm.auth.service;

import java.util.Map;

import com.yjd.comm.base.model.PagerModel;
import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.auth.model.IdcardDataModel;

/**
 * <b>description</b>：身份认证业务接口<br>
 * <b>time</b>：2014-11-18 11:26:24 <br>
 * <b>author</b>：  renbangjie_vip@163.com
 */
public interface IIdcardDataService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public IdcardDataModel insert(IdcardDataModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(IdcardDataModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public int delete(Long id) throws Exception;
	
	/**
	 * 分页结果(带用户信息)
	* @param paramMap
	* @return Map<Object, Object> paramMap
	 * @throws Exception 
	 */
	public PagerModel getAuthDataPageModel(Map<String, Object> paramMap) throws Exception;

}
